package cn.gene.timeyan.pojo.admin.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 广告图片
 * </p>
 *
 * @author LWG
 * @since 2022-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ams_advertise_img")
public class AdvertiseImg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告图片表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 广告表id
     */
    private Long adId;

    /**
     * 图片路径
     */
    private String imgUrl;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
